package com.vincent.kdp.ui.bean.response;

import com.vincent.kdp.bean.Paginator;

import java.util.List;

/**
 * Created by ouzy on 2017/1/21.
 */

public class CommodityListOut extends BaseOutput {


    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        private Paginator paginator;

        private List<ListBean> list;

        public Paginator getPaginator() {
            paginator.cal();
            return paginator;
        }

        public void setPaginator(Paginator paginator) {
            this.paginator = paginator;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {

            private String imageUrl;
            private int price;
            private String name;
            private Object id;
            private String barCode;
            private String laborCost;
            private String totalWeight;
            private String chargeUnit;
            private String chargeUnitName;
            private String image;
            private String companyStyleNum;
            private int handInch;

            public String getCompanyStyleNum() {
                return companyStyleNum;
            }

            public void setCompanyStyleNum(String companyStyleNum) {
                this.companyStyleNum = companyStyleNum;
            }

            public int getHandInch() {
                return handInch;
            }

            public void setHandInch(int handInch) {
                this.handInch = handInch;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Object getId() {
                return id;
            }

            public void setId(Object id) {
                this.id = id;
            }

            public String getBarCode() {
                return barCode;
            }

            public void setBarCode(String barCode) {
                this.barCode = barCode;
            }

            public String getLaborCost() {
                return laborCost;
            }

            public void setLaborCost(String laborCost) {
                this.laborCost = laborCost;
            }

            public String getTotalWeight() {
                return totalWeight;
            }

            public void setTotalWeight(String totalWeight) {
                this.totalWeight = totalWeight;
            }

            public String getChargeUnit() {
                return chargeUnit;
            }

            public void setChargeUnit(String chargeUnit) {
                this.chargeUnit = chargeUnit;
            }

            public String getChargeUnitName() {
                return chargeUnitName;
            }

            public void setChargeUnitName(String chargeUnitName) {
                this.chargeUnitName = chargeUnitName;
            }
        }
    }
}
